<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>vue基础讲解</title>
		<!-- <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script> -->
		<script src="js/vue.js"></script>
	</head>
	<body>
		
		<div id="app">	
		<ul>
			<li v-for="item,index in arr">{{index+1}}{{item}}</li>
		</ul>
		
		</div>
		<script>		
		var app=new Vue({
			el:"#app",
			data:{
				msg:"<button>ok</button>",
				arr:["java基础","前端","数据库"]
							
			},
			methods:{
				
			}
			
		})
		
		
		
		</script>
		
	</body>
</html>
